﻿using System;
using System.Collections.Generic;
using Wise.TimeWarrior.DTO;
namespace Wise.TimeWarrior.Forms.Interfaces
{

    /// <summary>
    /// Date Time filtered event Handler
    /// </summary>
    /// <param name="from">date range from</param>
    /// <param name="to">data range to</param>
    public delegate void DateFilteredEventHandler(DateTime from, DateTime? to);


    /// <summary>
    /// Interface describing functionalities of statistics form
    /// </summary>
    public interface IStatisticsForm
    {
        /// <summary>
        /// Statistics Date Range Changed Event
        /// </summary>
        event DateFilteredEventHandler DateChanged;
        /// <summary>
        /// List of working days DTO's for selected date range
        /// </summary>
        List<WorkingDayDto> WorkingDayList { set; get; }

        /// <summary>
        /// Do Snapshoot Event
        /// </summary>
        event EventHandler DoSnapshoot;
    }
}
